package com.xueersi.interactivevideoeditor.model
{
	import com.xueersi.interactivevideoeditor.core.IAsset;
	
	import flashx.textLayout.edit.IInteractionEventHandler;

	[Bindable]
	public class Asset implements IAsset
	{
		public static const IMAGE_ASSET_TYPE:String = "1";
		public static const FLASH_ASSET_TYPE:String = "2";
		public static const SOUND_ASSET_TYPE:String = "3";
		public static const QUIZ_ASSET_TYPE:String = "4";
		public static const VIDEO_ASSET_TYPE:String = "5";
		
		public var id:String;
		public var name:String;
		public var resource_type_id:int;
		public var resource_type_name:String;
		public var thumbnail:String;
		public var isLocal:Boolean = true;
		
		public function Asset()
		{
			
		}
		
		public function getRelation():Object
		{
			return null;
		}
		
		public function get assetType():String
		{
			return this.resource_type_name;
		}	
	}
}